package com.codeying.servlet;

import com.codeying.service.*;

import javax.servlet.http.HttpServlet;

/**
 * 集合了所有服务类，避免重复创建Service
 */
public class AbsServlet extends HttpServlet {

    protected static AdminService adminService = new AdminService();
    protected static UserService userService = new UserService();
    protected static CarService carService = new CarService();
    protected static YuyueService yuyueService = new YuyueService();
    protected static RentorderService rentorderService = new RentorderService();
    protected static UserCommentService userCommentService = new UserCommentService();
    protected static NoticeService noticeService = new NoticeService();
}

